import request from '@/utils/request'

//维修查询
export function WeixiuPages(Cha) {
  return request({
    url: '/services/app/WeixiuDataService/GetAll',
    method: 'get',
    params: Cha
  })
}

//维修删除
export function WeixiuDeletes(id) {
  return request({
    url: '/services/app/WeixiuDataService/Delete',
    method: 'delete',
    params: {Id:id}
  })
}
//维修批删
export function Weixiupideletes(id) {
  return request({
    url: '/services/app/WeixiuDataService/Delete',
    method: 'delete',
    params: {Id:id}
  })
}
//维修添加
export function WeixiuBaos(List) {
  return request({
    url: '/services/app/WeixiuDataService/Create',
    method: 'post',
    data: List
  })
}
//维修反填
export function WeixiuEdits(id) {
  return request({
    url: '/services/app/WeixiuDataService/Get',
    method: 'get',
    params: {Id:id}
  })
}
//维修修改
export function WeixiuEintBaos(list) {
  return request({
    url: '/services/app/WeixiuDataService/Update',
    method: 'put',
    data: list
  })
}
//保养显示
export function BaoyangPages(Cha) {
  return request({
    url: '/services/app/BaoyangDataService/GetAll',
    method: 'get',
    params: Cha
  })
}
//保养批删
export function Baoyangpideletes(Cha) {
  return request({
    url: '/services/app/BaoyangDataService/Delete',
    method: 'delete',
    params: {Id:Cha}
  })
}
//保养批删
export function BaoyangDeletes(Cha) {
  return request({
    url: '/services/app/BaoyangDataService/Delete',
    method: 'delete',
    params: {Id:Cha}
  })
}
//保养添加
export function BaoyangBaos(Cha) {
  return request({
    url: '/services/app/BaoyangDataService/Create',
    method: 'post',
    data: Cha
  })
}
//保养修改
export function BaoyangEintBaos(Cha) {
  return request({
    url: '/services/app/BaoyangDataService/Update',
    method: 'put',
    data: Cha
  })
}
//保养反填
export function BaoyangEdits(Cha) {
  return request({
    url: '/services/app/BaoyangDataService/Get',
    method: 'get',
    params: {Id:Cha}
  })
}
//违章显示
export function WeizhangPages(Cha) {
  return request({
    url: '/services/app/WeizhangDataService/GetAll',
    method: 'get',
    params: Cha
  })
}
//违章批删
export function Weizhangpideletes(Cha) {
  return request({
    url: '/services/app/WeizhangDataService/Delete',
    method: 'delete',
    params: {Id:Cha}
  })
}
//违章单删
export function WeizhangDeletes(Cha) {
  return request({
    url: '/services/app/WeizhangDataService/Delete',
    method: 'delete',
    params: {Id:Cha}
  })
}
//违章丹田
export function WeizhangEdits(Cha) {
  return request({
    url: '/services/app/WeizhangDataService/Get',
    method: 'get',
    params: {Id:Cha}
  })
}
//违章修改
export function WeizhangEintBaos(Cha) {
  return request({
    url: '/services/app/WeizhangDataService/Update',
    method: 'put',
    data: Cha
  })
}
//违章添加
export function WeizhangBaos(Cha) {
  return request({
    url: '/services/app/WeizhangDataService/Create',
    method: 'post',
    data: Cha
  })
}



//事故显示
export function ShiguPages(Cha) {
  return request({
    url: '/services/app/ShiguDataService/GetAll',
    method: 'get',
    params: Cha
  })
}
//事故批删
export function Shigupideletes(Cha) {
  return request({
    url: '/services/app/ShiguDataService/Delete',
    method: 'delete',
    params: {Id:Cha}
  })
}
//事故单删
export function ShiguDeletes(Cha) {
  return request({
    url: '/services/app/ShiguDataService/Delete',
    method: 'delete',
    params: {Id:Cha}
  })
}
//事故反填
export function ShiguEdits(Cha) {
  return request({
    url: '/services/app/ShiguDataService/Get',
    method: 'get',
    params: {Id:Cha}
  })
}
//事故修改
export function ShiguEintBaos(Cha) {
  return request({
    url: '/services/app/ShiguDataService/Update',
    method: 'put',
    data: Cha
  })
}
//事故添加
export function ShiguBaos(Cha) {
  return request({
    url: '/services/app/ShiguDataService/Create',
    method: 'post',
    data: Cha
  })
}


  //轮胎显示
export function LuntaiPages(Cha) {
  return request({
    url: '/services/app/LuntaiDataService/GetAll',
    method: 'get',
    params: Cha
  })
}
//轮胎批删
export function Luntaipideletes(Cha) {
  return request({
    url: '/services/app/LuntaiDataService/Delete',
    method: 'delete',
    params: {Id:Cha}
  })
}
//轮胎单删
export function LuntaiDeletes(Cha) {
  return request({
    url: '/services/app/LuntaiDataService/Delete',
    method: 'delete',
    params: {Id:Cha}
  })
}
//轮胎反填
export function LuntaiEdits(Cha) {
  return request({
    url: '/services/app/LuntaiDataService/Get',
    method: 'get',
    params: {Id:Cha}
  })
}
//轮胎修改
export function LuntaiEintBaos(Cha) {
  return request({
    url: '/services/app/LuntaiDataService/Update',
    method: 'put',
    data: Cha
  })
}
//轮胎添加
export function LuntaiBaos(Cha) {
  return request({
    url: '/services/app/LuntaiDataService/Create',
    method: 'post',
    data: Cha
  })
}
//费用查询
export function FeiyongPages(Cha) {
  return request({
    url: '/services/app/FeiyongDataService/GetAll',
    method: 'get',
    params: Cha
  })
}

//费用删除
export function FeiyongDeletes(id) {
  return request({
    url: '/services/app/FeiyongDataService/Delete',
    method: 'delete',
    params: {Id:id}
  })
}
//费用批删
export function Feiyomgpideletes(id) {
  return request({
    url: '/services/app/FeiyongDataService/Delete',
    method: 'delete',
    params: {Id:id}
  })
}
//费用添加
export function FeiyongBaos(List) {
  return request({
    url: '/services/app/FeiyongDataService/Create',
    method: 'post',
    data: List
  })
}
//费用反填
export function FeiyongEdits(id) {
  return request({
    url: '/services/app/FeiyongDataService/Get',
    method: 'get',
    params: {Id:id}
  })
}
//费用修改
export function FeiyongEintBaos(list) {
  return request({
    url: '/services/app/FeiyongDataService/Update',
    method: 'put',
    data: list
  })
}